package com.dr.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dr.domain.User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface UserMapper extends BaseMapper<User> {


    @Select("select * from user where UserName=#{username}")
    User findUserByUserName(@Param("username") String userName);
}
